package com.example.zluserservice.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author zhenliu（孙凌岳）
 * @Description AI生成-登录请求DTO
 * @Date 2025/6/15 15:52
 * @Version 1.0
 */
@Data
public class LoginReqDTO implements Serializable {
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;
}
